package com.gdk.dao;

import java.util.List;
import java.util.Map;


/**
 * 订单dao
 * */

public interface OrderDao {
	//查询所有订单
	List<Map<String,Object>> selectAllOrder(Map<String,Object> map);
	
	//查询订单详情
	Map<String,Object> selectOrderDetails(Map<String,Object> map);
	//修改订单详情
	int updateOrderDetails(Map<String,Object> map);
	//绑定树
	int bindTree(Map<String,Object> map);
	//查询所有订单评价
	List<Map<String,Object>> selectAllOrderComment(Map<String,Object> map);
	//查询订单评价详情 
	Map<String,Object> selectOrderCommentDetails(Map<String,Object> map);
	//修改订单评价状态
	int updateOrderCommentDetails(Map<String,Object> map);
	//查询订单关联的所有门票
	List<Map<String,Object>> selectAllBindTicketByOrder(Map<String,Object> map);
	
	//查询店铺流水
	List<Map<String,Object>> selectShopMoneyLog(Map<String,Object> map);
	//新增商铺流水
	int addShopMoney(Map<String,Object> map);
	//删除核销码信息
	int delHXCode(Map<String,Object> map);
	//查询所有核销信息
	List<Map<String,Object>> selectAllHXOrderByHXStatus(Map<String,Object> map);
	//查询店铺最新价格
	List<Map<String,Object>> selectAllNowShopMoney();
	//查询出所有的订单核销商品
	List<Map<String,Object>> selectAllOrderGoods();
	//修改订单状态表
	int updateOrderGoods(Map<String,Object> map);
}
